package com.zhijian.medical.dao.local;

import com.zhijian.medical.entity.po.Dye;
import com.zhijian.medical.entity.vo.request.DyeSearchVo;
import com.zhijian.medical.entity.vo.response.DyeVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DyeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Dye record);

    int insertSelective(Dye record);

    Dye selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Dye record);

    int updateByPrimaryKey(Dye record);

    int count(DyeSearchVo dyeSearchVo);

    List<DyeVo> selectList(DyeSearchVo dyeSearchVo);

    DyeVo selectVoById(Long id);

    int insertBatch(@Param("entities") List<Dye> entities);
}